package pl.edu.agh.neuraleconomy.core.simulation;

import java.math.BigDecimal;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import pl.edu.agh.neuraleconomy.model.simulation.Simulation;

@Data
@EqualsAndHashCode(callSuper = true)
public class DailyHistory extends pl.edu.agh.neuraleconomy.model.simulation.DailyHistory{
	
	public DailyHistory(Date date, BigDecimal closingMoney, Simulation simulation) {
		super(date, closingMoney, simulation);
	}
		
	public DailyHistory(pl.edu.agh.neuraleconomy.model.simulation.DailyHistory history){
		super(history.getDate(), history.getClosingMoney(), history.getSimulation());
		setId(history.getId());
	}
}
